<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    a:link{
        background-color: black;
    }
    a:visited{
        background-color: red;
    }
    a:hover{
        background-color: rgb(60, 255, 0);
    }
    a:active{
        background-color: chocolate;
    }
    
</style>
<body>
    <!-- 链接样式 --> 
    <a href="http://www.baidu.com">这是一个链接标签</a>
    <table border="1">
<tr>
    <th>姓名</th>
    <th>性别</th>
    <th>年龄</th>
</tr>
<tr>
    <td>张三</td>
    <td>男</td>
    <td>23</td>
</tr>
    </table>
</body>
</html>